package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbNewsUnread;
import com.quanyan.user.model.db.TbNewsUnreadExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewsUnreadMapper {
    int countByExample(TbNewsUnreadExample example);

    int deleteByExample(TbNewsUnreadExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbNewsUnread record);

    int insertSelective(TbNewsUnread record);

    List<TbNewsUnread> selectByExample(TbNewsUnreadExample example);

    TbNewsUnread selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbNewsUnread record, @Param("example") TbNewsUnreadExample example);

    int updateByExample(@Param("record") TbNewsUnread record, @Param("example") TbNewsUnreadExample example);

    int updateByPrimaryKeySelective(TbNewsUnread record);

    int updateByPrimaryKey(TbNewsUnread record);
}